<{include file="header.tpl"}>
    <div class="comBox">
        <div class="comHeader">
            <form action="" method="GET">
                <input type="hidden" name="ct" value="users" />
                <input type="hidden" name="ac" value="log" />
                关键字：
                <input type='text' name='keyword' style='width:200px;' class='txt' value="<{request_em key='keyword'}>" />
                <input type="submit" value="搜索" class="sub" /> 
            </form>
        </div>
        <div class="comTable">
            <form action="" method="POST" id="form1">
            <table class="tableSort">
                <tr class="title">
                    <td> 选择 </td>
                    <td> 记录id </td>
                    <td> 用户名 </td>
                    <td> 操作说明 </td>
                    <td> 操作时间 </td>
                    <td> 是否系统警告 </td>
                    <td> 消息hash </td>
                    <td> 是否已阅 </td>
                </tr>
                <{if !empty($list)}>
                <{foreach from=$list item=v}>
                <tr>
                    <td> <input type='checkbox' name='id[]' value='<{$v.id}>' rel="child" /> </td>
                    <td> <{$v.id}> </td>
                    <td> <{$v.user_name}> </td>
                    <td> <{$v.operate_msg}> </td>
                    <td> <{$v.operate_time|date_format:"%Y-%m-%d %H:%M:%S"}> </td>
                    <td> <{$v.isalert}> </td>
                    <td> <{$v.msg_hash}> </td>
                    <td> <{$v.isread}> </td>

                </tr>
                <{/foreach}>
                <{/if}>
                <tr>
                    <td colspan="11" class="tl">
                        <div class="fl">
                            <label><input type="checkbox" id="checkAll" rel="parent" /> 全选</label> 
                            <input type="submit" value="批量删除" class="sub" onclick="subform('?ct=users&ac=log_del')" />
                        </div>
                        <div class="pages fr">
                            <{$pages}>
                        </div>
                    </td>
                </tr>
            </table>
            </form>
        </div>
    </div>
<{include file="footer.tpl"}>
